package com.example.spring.demo.config.properties;

import lombok.Data;

/**
 * @author liangchao
 * 11/18/18 9:30 PM
 */
@Data
public class MyShardingRuleProperty {
    private String tableName;
    //分表分库的列
    private String columnName;
    //是否补齐
    private boolean align = false;
    //补齐的话 总的长度
    private int suffixLength;
    //表名  数字之间的连接符
    private String link = "_";
    //总共多少个database
    private int totalSchema;
    //每个schema多少个table
    private int totalTablePerSchema;

}
